Skip to main content

Online Multi Leg Order Response

FieldDetails
NameOnlineMultiLegOrderResponse
DescriptionOnline Multi‑Leg order response sent to third‑party systems

📦 Multi‑Leg Order Response Parameters

The ResponseObject contains Multi‑Leg order details with the following parameters:

Parameter (Key)Data TypeDescription
MessageTypevarchar(10)MULTILEG_ORDER_MSG
ManagerIDintManager ID
CliOrderNumberintGateway/Client order number (system‑generated)
Exchangevarchar(10)Exchange name
OrderTypevarchar(50)Order type
BookTypevarchar(10)Book type (e.g., RL)
OrderStatusvarchar(15)Status of the order
Reasonvarchar(300)Rejection reason code (if any)
OrderValidityOrder validity
ProCliintParticipant type:
2 → PRO
1 → CLI
UserIDvarchar(10)Exchange User ID
PartCodevarchar(12)Participant code
OrderEntryTimevarchar(10)Order entry timestamp (e.g., 15Jun2018 15.25.15)
LastModifiedTimevarchar(10)Last modified timestamp (e.g., 15Jun2018 15.25.15)
Aliasvarchar(5)Alias ID (blank if not applicable)
InitiatedByvarchar(25)Application that initiated the order
ModifiedByvarchar(25)Application that modified the order
InitiatedByUserIdvarchar(25)User ID that initiated the order
ModifiedByUserIdvarchar(25)User ID that modified the order
PriceDifferenceintPrice difference of spread tokens
1stExchangeOrderNumberintFirst leg exchange order number
1stLegScripTokenintFirst leg scrip token number
1stLegSymbolvarchar(13)First leg security name
1stLegInstrumentNamevarchar(6)First leg instrument name
1stLegExpiryDatevarchar(10)First leg expiry date (ddMMMyyyy, e.g., 24JUN2004). Applicable for Futures & Options only; otherwise blank.
1stLegStrikePriceintFirst leg strike price (in paise). Applicable for options only; otherwise -1
1stLegOptionTypevarchar(2)First leg option type
1stLegBuySellintFirst leg order direction:
1 → Buy
2 → Sell
1stLegOrderOriginalQtyintFirst leg original order quantity
1stLegPendingQtyintFirst leg pending quantity
1stLegTradedQtyintFirst leg traded quantity
1stLegOrderPriceintFirst leg order price (in paise). Not applicable for spread orders.
1stLegProductvarchar(5)First leg product type
2ndExchangeOrderNumberintSecond leg exchange order number
2ndLegScripTokenintSecond leg scrip token number
2ndLegSymbolvarchar(13)Second leg security name
2ndLegInstrumentNamevarchar(6)Second leg instrument name
2ndLegExpiryDatevarchar(10)Second leg expiry date (ddMMMyyyy, e.g., 24JUN2004). Applicable for Futures & Options only; otherwise blank.
2ndLegStrikePriceintSecond leg strike price (in paise). Applicable for options only; otherwise -1
2ndLegOptionTypevarchar(2)Second leg option type
2ndLegBuySellintSecond leg order direction:
1 → Buy
2 → Sell
2ndLegOrderOriginalQtyintSecond leg original order quantity
2ndLegPendingQtyintSecond leg pending quantity
2ndLegTradeQtyintSecond leg traded quantity
2ndLegOrderPriceintSecond leg order price (in paise). Not applicable for spread orders.
2ndLegProductvarchar(5)Second leg product type
3rdExchangeOrderNumberintThird leg exchange order number
3rdLegScripTokenintThird leg scrip token number
3rdLegSymbolvarchar(13)Third leg security name
3rdLegInstrumentNamevarchar(6)Third leg instrument name
3rdLegExpiryDatevarchar(10)Third leg expiry date (ddMMMyyyy, e.g., 24JUN2004). Applicable for Futures & Options only; otherwise blank.
3rdLegStrikePriceintThird leg strike price (in paise). Applicable for options only; otherwise -1
3rdLegOptionTypevarchar(2)Third leg option type
3rdLegBuySellintThird leg order direction:
1 → Buy
2 → Sell
3rdLegOrderOriginalQtyintThird leg original order quantity
3rdLegPendingQtyintThird leg pending quantity
3rdLegTradedQtyintThird leg traded quantity
3rdLegOrderPriceintThird leg order price (in paise). Not applicable for spread orders.
3rdLegProductvarchar(5)Third leg product type
UserRemarksvarchar(10)Remarks provided by the user
Prot%Valid only for BSE. Applicable for Market orders.
MessageSequenceNumberint64Running message sequence number (always use the highest for latest status)
UniqueCodevarchar(12)Alphanumeric value with special characters